package com.springweb.unit4.annotated;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@Configuration
@ComponentScan(basePackages={"com.springweb.unit4"})
@EnableAspectJAutoProxy
public class PerformanceConfig {
	
//	@Bean
//	public Audience audience() {
//		return new Audience();
//	}
	
	@Bean
	public AroundAdvice aroundAdvice() {
		return new AroundAdvice();
	}
	
	@Bean
	public TrackCounter TrackCounter() {
		return new TrackCounter();
	}
}
